﻿using System;
using System.ServiceModel.Channels;

namespace Nx.Services
{
    public interface IBindingFactory : IDisposable
    {
        Binding CreateHttpBinding();
        Binding CreateHttpBinaryBinding();
        Binding CreateNetNamedPipeBinding();
        Binding CreateCustomBinding(BindingElementCollection bindingElementCollection);
    }
}
